package com.lecture.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

@Data
public class DemoData {
    @ExcelProperty("部门")
    private String department;

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("职位")
    private String position;

    @ExcelProperty("工号")
    private String employeeId;

    public DemoData(String department, String name, String position, String employeeId) {
        this.department = department;
        this.name = name;
        this.position = position;
        this.employeeId = employeeId;
    }
}
